using GameServer.Cache.Fight;
using GameServer.Cache.Match;
using Protocol.Constant;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameServer.Cache
{
    /// <summary>
    /// 全局唯一
    /// </summary>
    public class Caches
    {
        public static AccountCache Account { get; set; }
        public static UserCache User { get; set; }
        public static MatchCache Match1{ get; set; } // 斗地主房间
        public static MatchCache2 Match2{ get; set; } // 抓乌龟房间
        public static FightCache Fight { get; set; }
        public static FightCache2 Fight2 { get; set; }

        static Caches()
        {
            Account = new AccountCache();
            User = new UserCache();
            Match1 = new MatchCache();
            Match2 = new MatchCache2();
            Fight = new FightCache();
            Fight2 = new FightCache2();
        }
    }
}
